package sanrenxing.dayEnd.backRepertoryTotal.service.impl;


import org.springframework.stereotype.Service;
import sanrenxing.dayEnd.backRepertoryTotal.dao.DaysD;
import sanrenxing.dayEnd.backRepertoryTotal.domain.Days;
import sanrenxing.dayEnd.backRepertoryTotal.service.DaysBiz;

import javax.annotation.Resource;
import java.util.List;

@Service("daysIm")
public class DaysIm implements DaysBiz {
    @Resource
    private DaysD daysD;
    @Override
    public int add(Days us) {
        return daysD.add(us);
    }

    @Override
    public int del(int us) {
        return daysD.del(us);
    }

    @Override
    public List<Days> all() {
        return daysD.all();
    }

    @Override
    public int selectDate(String dayDate) {
        return daysD.selectDate(dayDate);
    }
}
